Sign Up Screen
fun SignUpScreen(modifier: Modifier = Modifier, viewModel: SignupViewModel = hiltViewModel(), openDrawer: () -> Unit, onSignUpResult: () -> Unit)
Composable function representing the Sign Up screen.
This screen allows the user to sign up for an account by providing their email, password, and confirming the password. It calls the provided onSignUpResult callback after a successful sign-up.
Parameters
modifier
The modifier to be applied to the Scaffold layout.
view Model
The SignupViewModel instance used to manage UI state and actions.
open Drawer
A lambda function that triggers the opening of a navigation drawer.
on Sign Up Result
A lambda function that is invoked when the sign-up process finishes successfully.